
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>更换头像</h1>
    <img src="<?php echo $_GET['log']?>" width="150px" height="150px">
    <form method="post" enctype="multipart/form-data" action="new_img.php" >
        <input type="file" name="file"><br/>
        <input type="submit">
    </form>
</body>
</html>